# _*_ coding : utf-8 _*_
# @Time : 2022/1/17 19:43
# @Author : StephenQukry
# @File : dictionary_test04
# @Project : Test1

person = {'name':'阿玛','age':'18','sex':'man'}
print(person)

print('遍历字典的key')
for key in person.keys():
    print(key)

print('遍历字典的value')
for value in person.values():
    print(value)

print('遍历字典的key 和 value')
for keyy,valuee in person.items():
    print(keyy,valuee)

print('遍历字典的项/元素')
for keyyy in person.items():
    print(keyyy)
